	<script language="JavaScript">
	<!--
	function setParent(day, month, year, add) {

	if (add == 0) add = '';

		var pSelect = window.opener.document.getElementById('day'+add);
	if (pSelect) {
		for (var i = 0, n = pSelect.options.length; i < n; i++) {
			if (pSelect.options[i].value == day) {
				pSelect.options[i].selected = 1;
			}
		}
	}

		var pSelect = window.opener.document.getElementById('month'+add);
	if (pSelect) {
		for (var i = 0, n = pSelect.options.length; i < n; i++) {
			if (pSelect.options[i].value == month) {
				pSelect.options[i].selected = 1;
			}
		}
	}

		var pSelect = window.opener.document.getElementById('year'+add);
	if (pSelect) {	
		for (var i = 0, n = pSelect.options.length; i < n; i++) {
			if (pSelect.options[i].value == year) {
				pSelect.options[i].selected = 1;
			}
		}
	}

		window.opener.focus();
		window.close();	
	}

	//-->
	</script>
